﻿using Domain.Flow;
using Microsoft.EntityFrameworkCore;
using U.B.DoMain;
using U.B.DoMain.rabbitsAAA;

namespace U.B.Repistory
{
    public class Dbcontext1: DbContext
    {
        public Dbcontext1(DbContextOptions options) : base(options)
        {

        }
        public DbSet<User> App { get; set; }
        public DbSet<Menu> Menu { get; set; }
        public DbSet<Role> Role { get; set; }
        public DbSet<UserRole> UserRoles { get; set; }
        
        public DbSet<RoleMenu> RoleMenu { get; set; }
        
        public DbSet<Approval> Approval { get; set; }
        public DbSet<LeaveApp> LeaveApp { get; set; }
        public DbSet<Farm> Farm { get; set; }
        public DbSet<Firm> Firm { get; set; }
        public DbSet<Immune> Immune { get; set; }
        public DbSet<Kill> Kill { get; set; }
        public DbSet<Picture> Picture { get; set; }
        public DbSet<ProductClass> ProductClass { get; set; }

        public DbSet<Product> Product { get; set; }
        
        public DbSet<Supplier> Supplier { get; set; }
        public DbSet<PICA> PICA { get; set; }

    }
}
